﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ChoViet.Model;
using ChoViet.Lib.Paging;
using ChoViet.CMS.Properties;

namespace ChoViet.CMS.ViewModels
{
    #region Site: Home
    public class HomeSiteIndexViewModel
    {
        public Category Category { get; set; }
        public Demand Demand { set; get; }

        public City City { set; get; }
        public AdAttribute AdAttribute { get; set; }
        public AdAttributeValue AdAttributeValue { get; set; }
        public int CusTypeId { get; set; }
        public int TotalVisited { get; set;}
        public int TotalNewAdInDay { get; set; }
    }

    //public class CounterViewModels
    //{
    //    public long TotalVisited { get; set; }
    //    public long? Yesterday { get; set; }
    //    public int OnlineUser { get; set; }
    //}

    #endregion
    public class HomeViewModels
    {
        //public IList<Schedule> Schedules;       
    }
    public class HomeIndexModel
    {
        IPagedList<Ad> Ads { get; set; }
    }

}
